package com.renli.service;

import com.renli.bean.ResultJson;
import com.renli.pojo.Post;

import java.util.List;
import java.util.Map;

public interface PostService {
    ResultJson add(Post post);

    ResultJson<List<Map<String,Object>>> findAll(Map<String,Object> map);

    ResultJson del(Integer postId);

    ResultJson update(Post post);
}
